package org.ruoyi.aibox.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.ruoyi.aibox.domain.DocAuditLog;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.ruoyi.common.excel.annotation.ExcelDictFormat;
import org.ruoyi.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 文档审核日志视图对象 doc_audit_log
 *
 * @author xpeter
 * @date 2025-04-29
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DocAuditLog.class)
public class DocAuditLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 日志ID
     */
    @ExcelProperty(value = "日志ID")
    private Long logId;

    /**
     * 任务ID
     */
    @ExcelProperty(value = "任务ID")
    private Long taskId;

    /**
     * 操作类型
     */
    @ExcelProperty(value = "操作类型")
    private String operationType;

    /**
     * 操作内容
     */
    @ExcelProperty(value = "操作内容")
    private String operationContent;

    /**
     * 操作时间
     */
    @ExcelProperty(value = "操作时间")
    private Date operationTime;

    /**
     * 操作IP
     */
    @ExcelProperty(value = "操作IP")
    private String operationIp;

    /**
     * 状态（0成功 1失败）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    private String status;


}
